{include file="./headStart.tpl"}
{include file="./headEnd.tpl"}
<form name="form1" action="{$smarty.server.PHP_SELF}" method="GET">
<table border='0' cellpadding='1' cellspacing='2' align='center'>
<tr>
  <td class="table1" align="right">
    From Date :
    {html_select_date prefix="fromDate" start_year="-1" end_year="+5" field_order="DMY" month_format="%m" time="$fromDate"}   
  </td>
  <td class="table1" align="right">
    To Date :
    {html_select_date prefix="toDate" start_year="-1" end_year="+5" field_order="DMY" month_format="%m" time="$toDate"}   
  </td>
  <td class="table2">
    <input type="submit" name="submitDateBtn" value="GO..." class="button" />
  </td>  
</tr>		
</table>
</form>
<center><font style="font-size: 16px"><b>Complete Report</b></font></center><br/>
<form action="{$smarty.server.PHP_SELF}" name="form" method="POST">
	
<table border='0' cellpadding='1' cellspacing='2' align='center'>
<tr>
  <td class="table1" align="center" colspan="12"><font style="font-size: 16px"><b> Completed Complain List </b></font></td>
</tr>
<tr>
 <!-- <td class="table1" align="center">&nbsp;</td>
  <td class="table1" align="center">&nbsp;</td>-->
	<td class="table1" align='center'><B>Sr No.</td>
	<td class="table1" align='center'><B>Customer</td>
	<td class="table1" align='center'><B>Technician </td>
	<td class="table1" align='center'><B>System </td>
	<td class="table1" align='center'><B>Complaint Date</td>
	<td class="table1" align='center'><B>Target Date </td>
	<td class="table1" align='center'><B>Description </td>
	<td class="table1" align='center'><B>Important Point</td>	
	<td class="table1" align='center'><B>Type Of Call</td>
	<td class="table1" align='center'><B>Service Charge</td>
	<td class="table1" align='center'><B>Remarks</td>
	<td class="table1" align='center'><B>Amount Collected</td>
</tr>
{section name="sec" loop=$complainCallDetailArray}
<tr>
<!--<td class="table2" align="center">
	<input type="hidden" name="complainServiceId" value="{$complainCallDetailArray[sec].complainServiceId}" />
  <a href="complainService.php?complainServiceId={$complainCallDetailArray[sec].complainServiceId}" class="link"><img src="./images/b_edit.png" border="0" width="15" height="15" title="Edit"></a>
</td>
<td class="table2">  
	<a href="studentDelete.php?complainServiceId={$complainCallDetailArray[sec].complainServiceId}" class="link" onclick="return confirm('Are You Sure?');"><img src="./images/deleteIcon.png" border="0" width="15" height="15" title="Delete"></a>
</td>-->
<td class="table3" align="center">{$smarty.section.sec.rownum}</td>
<td class="table3" align="left">{$complainCallDetailArray[sec].companyName}</td>
<td class="table3" align="center">&nbsp;</td>
<td class="table3" align="left" NOWRAP>{$complainCallDetailArray[sec].categoryName}</td>
<td class="table3" align="center">{$complainCallDetailArray[sec].complainDate}</td>
<td class="table3" align="center">{$complainCallDetailArray[sec].targetedDate}</td>
<td class="table3" align="left">{$complainCallDetailArray[sec].description}</td>
<td class="table3" align="left">{$complainCallDetailArray[sec].importantPoint}</td>
<td class="table3" align="left">{$complainCallDetailArray[sec].type}</td>
<td class="table3" align="right">{$complainCallDetailArray[sec].serviceCharge}</td>
<td class="table3" align="left">{$complainCallDetailArray[sec].remarks}</td>
<td class="table3" align="right">{$complainCallDetailArray[sec].amountCollected}</td>
{sectionelse}
  <tr><td align="center" colspan="6"> <h2><font color="red"><b>{$msg}</b></font></h2></td></tr>
{/section}
</tr>
</table>
</form>
<br /><br /><br /><br /><br />
<form action="{$smarty.server.PHP_SELF}" name="form2" method="POST">
<table border='0' cellpadding='1' cellspacing='2' align='center'>
<tr>
  <td class="table1" align="center" colspan="5"><font style="font-size: 16px"><b> Completed New Installation List </b></font></td>
</tr>
<tr>
  <td class="table1" align='center'><B>Sr No.</td>	
  <td class="table1" align='center'><B>Date </td>	
	<td class="table1" align='center'><B>Customer </td>
	<td class="table1" align='center'><B>Categary </td>
	<td class="table1" align='center'><B>Description </td>
</tr>
{section name="sec2" loop=$newInstallDetailArray}
<tr>
 <!-- <td class="table2">  
		<a href="newInstallationDelete.php?newinstallationMasterId={$newInstallDetailArray[sec].newinstallationMasterId}" class="link" onclick="return confirm('Are You Sure?');"><img src="./images/deleteIcon.png" border="0" width="15" height="15" title="Delete"></a>
	</td>-->
	<td class="table3" align="center">{$smarty.section.sec2.rownum}</td>
	<td class="table3" align="left" NOWRAP> {$newInstallDetailArray[sec2].installationDate}</td>
	<td class="table3" align="center">{$newInstallDetailArray[sec2].companyName}</td>
	<td class="table3" align="left" NOWRAP>{$newInstallDetailArray[sec2].categoryName}</td>
	<td class="table3" align="left">{$newInstallDetailArray[sec2].description}</td>
	{sectionelse}
	  <tr><td align="center" colspan="6"> <h2><font color="red"><b>{$msg}</b></font></h2></td></tr>
	{/section}
</tr>
</table>
</form>		
<br /><br /><br /><br /><br />
<form action="{$smarty.server.PHP_SELF}" name="form2" method="POST">
<table border='0' cellpadding='1' cellspacing='2' align='center'>
<tr>
  <td class="table1" align="center" colspan="8"><font style="font-size: 16px"><b> Completed Others List </b></font></td>
</tr>
<tr>
  <td class="table1" align='center'><B>Sr No.</td>	
	<td class="table1" align='center'><B>Customer</td>
	<td class="table1" align='center'><B>Service Type</td>
	<td class="table1" align='center'><B>Categary </td>
	<td class="table1" align='center'><B>Complaint Date</td>
	<td class="table1" align='center'><B>Targeted Date</td>
	<td class="table1" align='center'><B>Description</td>
	<td class="table1" align='center'><B>Important Point</td>
</tr>
{section name="sec3" loop=$otherServiceArray}
<tr>
 <!-- <td class="table2">  
		<a href="newInstallationDelete.php?newinstallationMasterId={$newInstallDetailArray[sec].newinstallationMasterId}" class="link" onclick="return confirm('Are You Sure?');"><img src="./images/deleteIcon.png" border="0" width="15" height="15" title="Delete"></a>
	</td>-->
	<td class="table3" align="center">{$smarty.section.sec3.rownum}</td>
	<td class="table3" align="left">{$otherServiceArray[sec3].companyName}</td>
	<td class="table3" align="left">{$otherServiceArray[sec3].serviceType}</td>
	<td class="table3" align="left">{$otherServiceArray[sec3].categoryName}</td>
	<td class="table3" align="center">{$otherServiceArray[sec3].complainDate}</td>
	<td class="table3" align="center">{$otherServiceArray[sec3].targetedDate}</td>
	<td class="table3" align="left">{$otherServiceArray[sec3].description}</td>
	<td class="table3" align="left">{$otherServiceArray[sec3].importantPoint}</td>
	{sectionelse}
	  <tr><td align="center" colspan="6"> <h2><font color="red"><b>{$msg}</b></font></h2></td></tr>
	{/section}
</tr>
</table>
</form>		
{include file="footer.tpl"}